package com.uduew.sjd.api;

import static com.uduew.sjd.config.Const.UPLOAD_USER_INFO;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestBodyStrategy;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.RequestBodyType;


public class UploadUserInfoApi implements IRequestApi, IRequestType {

    private ReqUploadUserInfoBean overripe;

    public UploadUserInfoApi(ReqUploadUserInfoBean bean) {
        overripe = bean;
    }

    @NonNull
    @Override
    public String getApi() {
        return UPLOAD_USER_INFO;
    }

    /**
     * 获取参数的提交类型
     */
    @NonNull
    @Override
    public IRequestBodyStrategy getBodyType() {
        return RequestBodyType.JSON;
    }



    public static final class ReqUploadUserInfoBean {

        private String reflexive;
        private String fattish;
        private String attitudinize;
        private LandsickBean landsick;
        private String slidden;
        private String sicative;
        private String landmass;
        private boolean essex;
        private String dimerize;
        private boolean superelevate;
        private String komati;
        private String pdf;
        private String republish;
        private String clypeiform;
        private String rapturous;

        public void setReflexive(String reflexive) {
            this.reflexive = reflexive;
        }

        public void setFattish(String fattish) {
            this.fattish = fattish;
        }

        public void setAttitudinize(String attitudinize) {
            this.attitudinize = attitudinize;
        }

        public void setLandsick(LandsickBean landsick) {
            this.landsick = landsick;
        }

        public void setSlidden(String slidden) {
            this.slidden = slidden;
        }

        public void setSicative(String sicative) {
            this.sicative = sicative;
        }

        public void setLandmass(String landmass) {
            this.landmass = landmass;
        }

        public void setEssex(boolean essex) {
            this.essex = essex;
        }

        public void setDimerize(String dimerize) {
            this.dimerize = dimerize;
        }

        public void setSuperelevate(boolean superelevate) {
            this.superelevate = superelevate;
        }

        public void setKomati(String komati) {
            this.komati = komati;
        }

        public void setPdf(String pdf) {
            this.pdf = pdf;
        }

        public void setRepublish(String republish) {
            this.republish = republish;
        }

        public void setClypeiform(String clypeiform) {
            this.clypeiform = clypeiform;
        }

        public void setRapturous(String rapturous) {
            this.rapturous = rapturous;
        }
    }

    public static final class LandsickBean {

        private String nabulus;
        private String coagula;
        private String inadequate;

        public LandsickBean(String nabulus, String coagula, String inadequate) {
            this.nabulus = nabulus;
            this.coagula = coagula;
            this.inadequate = inadequate;
        }
    }


}
